package site.yunnong.atvris.portal.service;

import site.yunnong.atvris.common.api.Page;
import site.yunnong.atvris.common.dto.VideoQueryParam;
import site.yunnong.atvris.service.vo.PlayerPageVO;
import site.yunnong.atvris.service.vo.VideoCardVO;
import site.yunnong.atvris.service.vo.VideoDetailsVO;

import java.util.List;

/**
 * @author zjh
 * @date 2021/9/7 12:06
 */
public interface FrontVideoService {

    /**
     * 根据id查询视频信息
     * @param uvid
     * @return
     */
    VideoDetailsVO queryVideoInfoByUvid(Long uvid);

    List<VideoCardVO> queryRecommendListByUvid(Long uvid, Integer pageSize);

    PlayerPageVO queryPlayerPageInfo(Long uvid);

    /**
     * 分页查某用户所属的视频列表
     * @param param
     * @return
     */
    Page queryUserVideoPage(VideoQueryParam param);
}
